.error-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 16px;
  animation: slideDown 0.3s ease-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.error-banner.error {
  background-color: #fce8e8;
  border-bottom: 1px solid #f5c2c2;
  color: #d32f2f;
}

.error-banner.warning {
  background-color: #fff8e1;
  border-bottom: 1px solid #ffecb3;
  color: #ff8f00;
}

.error-content {
  display: flex;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.error-icon {
  margin-right: 12px;
  font-size: 18px;
  padding-top: 2px;
}

.error-message {
  flex: 1;
}

.error-message h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.error-message p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.dismiss-button {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
  padding: 0 6px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.dismiss-button:hover {
  opacity: 1;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
